package com.frame.utils

import groovy.transform.CompileStatic
import groovy.transform.TypeChecked

/**
 * Created by three on 14-8-5.
 */
@CompileStatic
@TypeChecked
class StringUtil {

    /**
     * null || "" 返回true
     * @param str
     * @return
     */
    public static boolean isBlank(String str) {
        return null==str || str.isEmpty();
    }
}
